package com.whfc.iot.autoconfigure;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @Description: socket服务器配置
 * @author: xugcheng
 * @version: 1.0
 * @date: 2019/7/16 19:33
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "iot.broker")
public class BrokerProperties {

    /**
     * 名称(唯一)
     */
    private String name;

    /**
     * 地址
     */
    private String host;

    /**
     * 端口
     */
    private Integer port;
}
